<template>
    <div>
      <router-view>{{msg}}</router-view>
      <router-view>$route.params.key</router-view>
    </div>
</template>

<script>
    export default {
        name: 'head1',
        data() {
            return {
              msg:'头部1'
            }
        },
        methods: {}
    }
</script>
